package site.lanmushan.generate.configs;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Administrator
 */
@Data
@ConfigurationProperties(prefix = "slash.generate-config")
@Configuration
public class GenerateCodeConfig {
    /**
     * 应用编码
     */
    private String appCode;
    private String database;
    /**
     * 数据表
     */
    private List<String> tableList = new ArrayList<>();
    /**
     * 忽略列
     */
    private List<String> ignoreColumn = new ArrayList<>();
    /**
     * 模板列表
     */
    private List<TemplateConfig> templateList = new ArrayList<>();
    /**
     * 目标目录
     */
    private String directoryPath;
    /**
     * 模板路径
     */
    private String tplDirectoryPath;
    /**
     * 作者
     */
    private String author;
    /**
     * 包目录
     */
    private String packageName;
}
